import request from '@/utils/request'

// 查询联络站信息列表
export function listLiaisonStation(query) {
  return request({
    url: '/LiaisonStation/LiaisonStation/list',
    method: 'get',
    params: query
  })
}

// 查询联络站信息详细
export function getLiaisonStation(id) {
  return request({
    url: '/LiaisonStation/LiaisonStation/' + id,
    method: 'get'
  })
}

// 新增联络站信息
export function addLiaisonStation(data) {
  return request({
    url: '/LiaisonStation/LiaisonStation',
    method: 'post',
    data: data
  })
}

// 修改联络站信息
export function updateLiaisonStation(data) {
  return request({
    url: '/LiaisonStation/LiaisonStation',
    method: 'put',
    data: data
  })
}

// 删除联络站信息
export function delLiaisonStation(id) {
  return request({
    url: '/LiaisonStation/LiaisonStation/' + id,
    method: 'delete'
  })
}
